import request from "../utils/request";

// 现货采购服务
export const SpotPurchasing = (data) => {
  return request({
    url: "/xhcgfw/list",
    method: "GET",
    data
  });
};
// 降低成本服务
export const CostReduction = (data) => {
  return request({
    url: "/jdcbfw/list",
    method: "GET",
    data
  });
};
// 物料清单配套服务
export const Bill = (data) => {
  return request({
    url: "/wlqdptfw/list",
    method: "GET",
    data
  });
};
// 呆滞库存服务
export const DullInventory = (data) => {
  return request({
    url: "/dzkcfw/list",
    method: "GET",
    data
  });
};
// 其他
export const Other = (data) => {
  return request({
    url: "/qtzzfw/list",
    method: "GET",
    data
  });
};
// 上传呆料 - 寻求零件
export const service = (data) => {
  return request({
    url: "/scdl/importData",
    method: "POST",
    data
  });
};
// 上传呆料 - 寻求零件
export const serviceSCDL = (data) => {
  return request({
    url: "/scdl",
    method: "POST",
    data
  });
};


// 现货采购服务：wefound/xhcgfw/list

// 降低成本服务：wefound/jdcbfw/list

// 物料清单配套服务：wefound/wlqdptfw/list

// 呆滞库存服务：wefound/dzkcfw/list

// 其他增值服务：wefound/qtzzfw/list

// 寻求零件：wefound/xqlj/importData

// 上传呆料：wefound/scdl/importData